include ../../config/kern.conf
BIN=bin
INCLUDE=include
OBJ=obj

LIB_CFLAGS=${CFLAGS} -I${INCLUDE} -fcheck-new ${NOFLAGS}

all:
	@echo "Use [test], [objects] or [clean] keywords."
objects:	list rtree string asm
	cp ${OBJ}/* ../

list:	
	g++ ${LIB_CFLAGS} -c -o ${OBJ}/list.o List.cc
	
rtree:
	g++ ${LIB_CFLAGS} -c -o ${OBJ}/rtree.o RadixTree.cc

string:
	g++ ${LIB_CFLAGS} -c -o ${OBJ}/string.o string.cc
	
asm:
	g++ ${LIB_CFLAGS} -c -o ${OBJ}/asm.o asm.cc
	
clean:
	rm ${OBJ}/*.o
